package org.edu.modules.sxjy.vo;

import java.io.Serializable;
import org.edu.modules.sxjy.oss.FileDTO;

public class VeSumupAddVo
        implements Serializable
{
    private int id;
    private String userId;
    private String content;
    private FileDTO fileDTO;

    public void setContent(String content)
    {
        this.content = content;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;result = result * 59 + getId();Object $userId = getUserId();result = result * 59 + ($userId == null ? 43 : $userId.hashCode());Object $content = getContent();result = result * 59 + ($content == null ? 43 : $content.hashCode());Object $fileDTO = getFileDTO();result = result * 59 + ($fileDTO == null ? 43 : $fileDTO.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeSumupAddVo;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeSumupAddVo)) {
            return false;
        }
        VeSumupAddVo other = (VeSumupAddVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (getId() != other.getId()) {
            return false;
        }
        Object this$userId = getUserId();Object other$userId = other.getUserId();
        if (this$userId == null ? other$userId != null : !this$userId.equals(other$userId)) {
            return false;
        }
        Object this$content = getContent();Object other$content = other.getContent();
        if (this$content == null ? other$content != null : !this$content.equals(other$content)) {
            return false;
        }
        Object this$fileDTO = getFileDTO();Object other$fileDTO = other.getFileDTO();return this$fileDTO == null ? other$fileDTO == null : this$fileDTO.equals(other$fileDTO);
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String toString()
    {
        return "VeSumupAddVo(id=" + getId() + ", userId=" + getUserId() + ", content=" + getContent() + ", fileDTO=" + getFileDTO() + ")";
    }

    public void setFileDTO(FileDTO fileDTO)
    {
        this.fileDTO = fileDTO;
    }

    public int getId()
    {
        return this.id;
    }

    public String getUserId()
    {
        return this.userId;
    }

    public String getContent()
    {
        return this.content;
    }

    public FileDTO getFileDTO()
    {
        return this.fileDTO;
    }
}
